Random generation for the binomial distribution with parameters size and prob:
Random generation for the binomial distribution with parameters size and prob
Description
Random generation for the binomial distribution with parameters size and prob.
Usage
Rbinom(n,nin,pp)
Arguments
n
The size of the vector to be returned.
nin
The size.
pp
Probubility.
Value
A row vector which is been initialized with binomial's numbers.
Details
s
The function is written in C++ and this is why it is very fast.